extern unsigned short comdata_s7;
extern unsigned short comdata_s6;
extern unsigned short comdata_s5;
extern unsigned short comdata_s4;
extern unsigned short comdata_s3;
extern unsigned short comdata_s2;
extern unsigned short comdata_s1;
extern unsigned short comdata_s0;
extern ushort_union swdata2;
extern ushort_union swdata1;
extern unsigned short comdata_m7;
extern unsigned short comdata_m6;
extern unsigned short comdata_m5;
extern unsigned short comdata_m4;
extern unsigned short comdata_m3;
extern unsigned short comdata_m2;
extern unsigned short comdata_m1;
extern unsigned short comdata_m0;
extern unsigned char comflag_s;
extern unsigned char comflag_m;
extern unsigned char cgchg_end;
extern unsigned char cgchg_timer;
extern unsigned char flash_flg;
extern unsigned char colorcnt;
extern unsigned char startcolor;
extern short lplanet_no;
extern short flash_timer;
extern int overint;
extern int ranum;
extern short sr_save;
extern short gmtime1;
extern short gmtime0;
extern short intmode;
extern short linkdata;
extern unsigned char colorflg;
extern unsigned char int_flg;
extern unsigned char push_flg;
extern unsigned char actset_wk;
extern unsigned char actset_flg;
extern short actset_tm[6];
extern short spr_colno;
extern short spr_coltimer;
extern short main_lpcnt;
extern short funka_patno;
extern short funka_pctimer;
extern short colorno;
extern unsigned short coltimer;
extern sprite_status_lpl actwk[18];
extern int ProcMode;
extern int DLLRetMode;
extern int* lpFadeFlag;
extern short tv_adr[];
extern wordram_info wordram;
extern int_union* lphscrollbuff;
extern PALETTEENTRY* lpcolorwk3;
extern PALETTEENTRY* lpcolorwk2;
extern PALETTEENTRY* lpcolorwk1;
extern PALETTEENTRY* lpcolorwk0;
extern short_union stageno;
extern unsigned char music_selflg;
extern unsigned char m2save[22528];
extern bmp_info SprBmp[700];

void WorkRamClear();
